package com.klasster.recruitmentPlatform.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.klasster.recruitmentPlatform.domain.po.Permission;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface PermissionMapper extends BaseMapper<Permission> {


    @Select("SELECT * FROM permission WHERE role = #{role}")
    List<Permission> selectByRole(String role);

}
